/*群聊样式，在私聊基础上复写*/
.layui-body{
    left:230px;
}
.anchor_list{
    padding:20px 0px;
    width:220px;
}
.anchor_list .total_title{
    padding-left:20px;
}

.anchor_list .anchor_search{
    display: block;
    clear: both;
    overflow: hidden;
    padding:0px 10px 10px 10px;
}
.anchor_list .anchor_search input{
    display: block;
    clear: both;
    overflow: hidden;
    width: calc(100% - 10px);
    padding:0px 5px;
    font-size: 12px;
    height:20px;
    line-height: 20px;
    border:1px solid #CCC;
    border-radius: 10px;
}
.anchor_list .anchor_group_list {
    display: block;
    clear: both;
    overflow-y: auto;
    max-height: calc(100% - 60px);
    padding: 0px 8px;
}
.anchor_group_list ul {
    display: block;
    clear: both;
    overflow: hidden;
}
.anchor_group_list ul li {
    display: flex;
    justify-content: space-between;
    clear: both;
    overflow: hidden;
    height: 36px;
    line-height: 1;
    font-size: 14px;
    color: #999999;
    border: 1px solid #DBDBDB;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 5px;
    cursor: pointer;
}

.anchor_group_list li .avatar{
    display: block;
    overflow: hidden;
    width:30px;
    height:30px;
    border-radius: 30px;
    margin-top:3px;
}
.anchor_group_list li img{
    width:30px;
    height:30px;
}

.anchor_group_list li .nick_id{
    width:calc(100% - 70px);
    padding-left:5px;
    text-align: left;
}
.anchor_group_list li .nick_id p{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height:19px;
    line-height: 18px;
}

.anchor_group_list li .gchat_count{
    line-height: 36px;
}

.anchor_group_list ul li.active, .anchor_group_list ul li:hover {
    border: 1px solid #54BBBC;
    color: #54BBBC;
}
.chat_session{
    height:100%;
}

.session_area .device_icon{
    border-radius: 40px;
    background-size: cover;
    width: 40px;
    height: 40px;
}
.session_area .user_chat_desc p.last_reply_msg{
    color: #333333;
}

.group_title {
    display: flex;
    justify-content: space-between;
    clear: both;
    overflow: hidden;
    padding: 0px 20px;
}


.group_title p {
    display: block;
    overflow: hidden;
    width: 140px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    text-align: center;
    color: #000;
    text-align: left;
}

.group_title p.create_group_btn{
    text-align: right;
    color: #02A8A2;
    cursor: pointer;
}
.group_title p.create_group_btn:hover{
    color: red;
}

.session_area .user_chat_desc span.nick_name{
    max-width: 150px;
}

.chat_session .session_area{
    width: 260px;
    padding:10px 0px;
}
.chat_session .chat_user{
    width: calc(100% - 270px);
}

.chat_session .chat_user.show_group{
    width: calc(100% - 620px);
}

.chat_user .user_info{
    padding-right:10px;
    height:20px;
    line-height: 20px;
}

.chat_cont_list dl{
    max-width: 90%;
    overflow: unset;

}
.chat_cont_list dl dt{
    position: relative;
    overflow: unset;
}

.chat_cont_list dl dd{
    position: relative;
    overflow: unset;
}
.chat_cont_list .remove_msg{
    position: absolute;
    left: -5px;
    bottom: -35px;
    background-color: #FFF;
    width: 60px;
    box-shadow: 0px 3px 10px #666;
    border: 1px solid #d2d2d2;
    z-index: 100;
    text-align: center;
    color: #333333;
    line-height: 30px;
}
.chat_cont_list .del_msg{
    position: absolute;
    left: 10px;
    bottom: -35px;
    background-color: #FFF;
    width: 60px;
    box-shadow: 0px 3px 10px #666;
    border: 1px solid #d2d2d2;
    z-index: 100;
    text-align: center;
    color: #333333;
    line-height: 30px;
}

.chat_cont_list .remove_msg:before {
    content: '';
    display: block;
    clear: both;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 7px solid transparent;
    border-bottom: 7px solid #D9D9D9;
    position: absolute;
    z-index: 10;
    top: -15px;
    right: 8px;
}
.chat_cont_list .del_msg:before {
    content: '';
    display: block;
    clear: both;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 7px solid transparent;
    border-bottom: 7px solid #D9D9D9;
    position: absolute;
    z-index: 10;
    top: -15px;
    left: 8px;
}
.chat_cont_list .remove_msg:after {
    content: '';
    display: block;
    clear: both;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 7px solid transparent;
    border-bottom: 7px solid #FFF;
    position: absolute;
    z-index: 10;
    top: -13px;
    right: 8px;
}

.chat_cont_list .del_msg:after {
    content: '';
    display: block;
    clear: both;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 7px solid transparent;
    border-bottom: 7px solid #FFF;
    position: absolute;
    z-index: 10;
    top: -13px;
    left: 8px;
}

.chat_cont_list .chat_set_user{
    position: absolute;
    left: 0px;
    top: 30px;
    background-color: #FFF;
    width: 90px;
    box-shadow: 0px 3px 10px #666;
    border: 1px solid #d2d2d2;
    z-index: 100;
    text-align: center;
    color: #333333;
    font-weight: 500;
    line-height: 30px;
}

.chat_cont_list .chat_set_user:before {
    content: '';
    display: block;
    clear: both;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 7px solid transparent;
    border-bottom: 7px solid #D9D9D9;
    position: absolute;
    z-index: 10;
    top: -15px;
    right: 8px;
}
.chat_cont_list .chat_set_user:after {
    content: '';
    display: block;
    clear: both;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 7px solid transparent;
    border-bottom: 7px solid #FFF;
    position: absolute;
    z-index: 10;
    top: -13px;
    right: 8px;
}

.chat_cont_list .chat_set_user p,.chat_cont_list .remove_msg p{
    cursor: pointer;
}
.chat_cont_list .chat_set_user p,.chat_cont_list .del_msg p{
    cursor: pointer;
}

.chat_cont_list .del_msg p a{
    cursor: pointer;
}

.chat_cont_list .remove_msg p a{
    cursor: pointer;
}

.chat_cont_list .chat_set_user p:hover,.chat_cont_list .remove_msg p:hover{
    color: red;
}

.chat_cont_list .chat_set_user p:hover,.chat_cont_list .del_msg p:hover{
    color: red;
}

.chat_cont_list .del_msg p a:hover{
    color: red;
}

.chat_cont_list .remove_msg p a:hover{
    color: red;
}

.show_group_info{
    float: right;
    cursor: pointer;
}
.show_group_info:hover{
    color: #02A8A2;
}
/*群组信息*/
.group_info{
    display: block;
    clear: both;
    overflow: hidden;
    margin-left: 10px;
    background-color: #FFF;
    border-radius: 20px;
    width: 340px;
    padding-bottom: 10px;
    position: relative;
}

.group_info_top{
    display: block;
    clear: both;
    overflow: hidden;
    height: 39px;
    line-height: 39px;
    text-align: center;
    box-shadow: inset 0px -0.5px 0px rgba(0, 0, 0, 0.1);
}
.group_info_top span.dissolve{
    float: right;
    margin-right:10px;
    cursor: pointer;
    color: #02A8A2;
}
.group_info_top span.dissolve:hover{
    color: red;
}
.group_info_area{
    display: block;
    clear: both;
    padding:10px;
    overflow-y: auto;
    height: calc(100% - 60px);
}

.group_info_content{
    display: flex;
    justify-content: left;
    clear: both;
    overflow: hidden;
}
.group_info_content .g_avatar{
    display: block;
    overflow: hidden;
    width:50px;
    height:50px;
    border-radius: 50px;
}
.group_info_content .g_avatar img {
    width: 100%;
    height: 100%;
}

.group_info_content .g_title{
    display: block;
    clear: both;
    overflow: hidden;
    width: calc(100% - 60px);
    margin-left:10px;
}
.group_info_content .g_title p{
    display: block;
    clear: both;
    overflow: hidden;
    height:25px;
    line-height: 25px;
}
.group_info_content .g_title p span{
    float: right;
    color: #02A8A2;
    cursor: pointer;
}

.group_info_content .g_title p span:hover{
    color: red;
}

.group_info_content .g_title div{
    display: block;
    clear: both;
}

.group_info_content .g_title div div{
    display: inline-block;
    overflow: hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    height:25px;
    line-height: 25px;
    width: calc(100% - 35px);
}
.group_info_content .g_title div span{
    float: right;
    color: #02A8A2;
    cursor: pointer;
}

.group_info_content .g_title div span:hover{
    color: red;
}

.group_info_desc{
    display: block;
    clear: both;
    overflow: hidden;
    margin-top:5px;
}

.group_info_desc dt{
    display: block;
    clear: both;
    overflow: hidden;
    height:30px;
    line-height: 30px;
}

.group_info_desc dd{
    display: block;
    clear: both;
    overflow: hidden;
    height:auto;
    max-height: 200px;
    min-height: 100px;
    border:1px solid #f2f2f2;
    color: #AAAAAA;
    font-size: 13px;
    border-radius: 3px;
    padding:3px;
}



/*群成员列表*/
.group_user_area{
    display: block;
    clear: both;
    margin-top:10px;
    position: relative;
}

.group_user_area .g_user_title{
    display: flex;
    justify-content: space-between;
}
.group_user_area .g_user_title .manage_group_btn{
    cursor: pointer;
    color: #02A8A2;
}

.group_user_area .g_user_title .manage_group_btn:hover{
    color: red;
}

.group_user_area .user_search{
    display: block;
    clear: both;
    overflow: hidden;
    padding:10px 0px;
}
.group_user_area .user_search input{
    display: block;
    clear: both;
    overflow: hidden;
    width: calc(100% - 12px);
    padding:0px 5px;
    font-size: 12px;
    height:20px;
    line-height: 20px;
    border:1px solid #CCC;
    border-radius: 10px;
    text-align: center;
}

.group_user_list {
    display: block;
    clear: both;
}

.group_user_list li {
    display: flex;
    justify-content: space-between;
    clear: both;
    height: 36px;
    line-height: 1;
    font-size: 13px;
    color: #999999;
    margin-bottom: 10px;
}
.group_user_list li:last-child{
    margin-bottom: 30px;
}

.group_user_list li .avatar{
    display: block;
    overflow: hidden;
    width:36px;
    height:36px;
    border-radius: 35px;
}
.group_user_list li img{
    width:100%;
    height:100%;
}

.group_user_list li .nick_id{
    width:calc(100% - 90px);
    padding-left:5px;
    text-align: left;
}
.group_user_list li .nick_id p{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height:19px;
    line-height: 18px;
}

.group_user_list li .g_manage{
    line-height: 36px;
    position: relative;
    width:35px;
    text-align: center;
}
.group_user_list li .g_manage .layui-icon{
    cursor: pointer;
}
.group_user_list li .g_manage .layui-icon:hover{
    color: #02A8A2;
}
.group_user_list li .g_manage .manage_user{
    position: absolute;
    right: 0px;
    top: 43px;
    background-color: #FFF;
    width: 90px;
    box-shadow: 0px 3px 10px #666;
    border: 1px solid #d2d2d2;
    z-index: 100;
    text-align: center;
}
.group_user_list li .g_manage .manage_user:before {
    content: '';
    display: block;
    clear: both;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 7px solid transparent;
    border-bottom: 7px solid #D9D9D9;
    position: absolute;
    z-index: 10;
    top: -15px;
    right: 8px;
}
.group_user_list li .g_manage .manage_user:after {
    content: '';
    display: block;
    clear: both;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 7px solid transparent;
    border-bottom: 7px solid #FFF;
    position: absolute;
    z-index: 10;
    top: -13px;
    right: 8px;
}

.group_user_list li .g_manage .manage_user p{
    cursor: pointer;
}
.group_user_list li .g_manage .manage_user p:hover{
    color: red;
}


.group_user_list li .g_checkbox{
    line-height: 44px;
    margin-right:5px;
}
.group_user_list li .g_checkbox input{
    cursor: pointer;
}

.g_manage_user_btn{
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 101;
    background-color: #f2f2f2;
}

.g_manage_user_btn span{
    width: 33.3%;
    height:40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}

.g_manage_user_btn span:hover{
    color: red;
}


